/*
 * 个人中心api
 *
 */
import { postRequest } from '@/lib/axios'
export const accountApi = {
  // 修改密码
  queryChangePassword: (param: string) => {
    return postRequest('/personal/change_password', param)
  },
  // 修改信息
  queryChangeMessage: (param) => {
    return postRequest('/personal/change_message', param)
  },
  // 修改头像
  queryChangeAvatar: (param) => {
    return postRequest('/personal/change_avatar', param)
  }
}
